package com.gopay.cashier.service;

import java.util.Map;

import com.gopay.cashier.domain.bean.LoginUser;
import com.gopay.common.exception.GopayException;
import com.gopay.sms.client.GopaySMSHttpClient;
import com.gopay.sms.common.domain.RequestVO;
import com.gopay.sms.common.domain.ResponseVO;

public interface SmsAcService {
	
	   /**
     * 短信认证校验
     * @param loginUser
     * @return
     */
	public Map<String,String>  getMapSmsAc(LoginUser  loginUser);
	
	/**
     * @Description: 生成短信提示
     * @param mobile
     *            手机号码
     * @param bizCode
     *            业务码
     * @return
     * @author lx
     */
    public   String getMsmSendTIps(String mobile) ;
    /**
     *  校验发送信息
     * @param loginuser
     * @param verifyCode
     * @return
     * @throws GopayException
     */
    
    public ResponseVO valiSms(LoginUser loginuser, String verifyCode)  throws GopayException ;
    /**
     * 校验发送信息
     * @param loginuser
     * @param verifyCod
     * @throws GopayException
     */
    public void checkPayPwdAndVerifyCode(LoginUser loginuser, String verifyCod) throws GopayException;
  /**
   * 校验企业信息是否开启
   * @param loginUser
   * @return
   * @throws GopayException
   */
    
    public boolean canSendSms(LoginUser loginUser)throws GopayException ;
    /**
     * 返回错误信息
     * @param loginUser
     * @param response
     * @return
     * @throws GopayException
     */
    public ResponseVO getSmsLockedTips(LoginUser loginUser, ResponseVO response) throws GopayException;
    
    /**
     * 发送短信验证码
     * @param req
     * @param userId
     * @return
     */
    public ResponseVO sendBizSMSAc(RequestVO req,String userId) ;
    /**
     * 获取企业信息
     * @param loginUser
     * @return
     */
    public  Map<String,String> getSmsAc(LoginUser loginUser) ;
 


}
